package sheji.Sinle2;


/**
 * @author lj
 * @Description: 获取唯一对象
 * @date 2020-10-29 21:36
 * @QQ 851477108
 */


public class SingletonPatternDemo {
    public static void main(String[] args) {
        SingleObject object = SingleObject.getInstance();
        object.showMessage();
    }
}
